package com.bootdo.sell.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.sell.dao.ShowpageDao;
import com.bootdo.sell.domain.ShowpageDO;
import com.bootdo.sell.service.ShowpageService;



@Service
public class ShowpageServiceImpl implements ShowpageService {
	@Autowired
	private ShowpageDao showpageDao;
	
	@Override
	public ShowpageDO get(Integer id){
		return showpageDao.get(id);
	}
	
	@Override
	public List<ShowpageDO> list(Map<String, Object> map){
		return showpageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return showpageDao.count(map);
	}
	
	@Override
	public int save(ShowpageDO showpage){
		return showpageDao.save(showpage);
	}
	
	@Override
	public int update(ShowpageDO showpage){
		return showpageDao.update(showpage);
	}
	
	@Override
	public int remove(Integer id){
		return showpageDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return showpageDao.batchRemove(ids);
	}
	
}
